/*
 * @Author: zhaoxiangyu@
 * @Date: 2021-11-10 11:17:06
 * @LastEditors: 647355931@qq.com
 * @LastEditTime: 2021-11-10 16:52:59
 * @Description: file content
 */
module.exports = {
  plugins: {
    //   处理css中的each
    'postcss-each': {
      plugins: {
        afterEach: [require('postcss-at-rules-variables')],
      },
    },
    'postcss-nested': {},
    'postcss-units': {
      size: 16,
      precision: 6,
    },
    'postcss-pxtorem': {
      rootValue: 16,
      propWhiteList: [
        '*',
        '!border',
        '!border-top',
        '!border-right',
        '!border-bottom',
        '!border-left',
        '!border-width',
      ],
      selectorBlackList: ['html'],
      mediaQuery: false,
    },
  },
};
